#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint
{
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	uint32_t val;
	char expr[64];

} WP;

WP *new_wp();

void free_wp(WP *wp);

void delete_wp(int num);

bool check_wp();

void display_watchpoint();

#endif